#include "cshoppinglist.h"

using namespace cooking;

CShoppingList::CShoppingList(QObject *parent) :
    CObject(parent)
{
}


QString CShoppingList::name() {
    return m_name;
}

void CShoppingList::setName(QString name) {
    if (m_name != name) {
        m_name = name;
        emit nameChanged();
    }
}

QString CShoppingList::description() {
    return m_description;
}

void CShoppingList::setDescription(QString description) {
    if (m_description != description) {
        m_description = description;
        emit descriptionChanged();
    }
}
